import dayjs from 'dayjs'

export const formatTime = (date: Date, fmt = 'YYYY-MM-DD HH:mm:ss') => {
  return dayjs(date).format(fmt)
}
